<?php
/**
 * Created by PhpStorm.
 * User: geolo
 * Date: 2018/11/21
 * Time: 15:08
 */
namespace app\models;
use Yii;
class Super extends \yii\db\ActiveRecord{
    /**
     * @inheritdoc
     */
    public static function tableName(){
        return '{{%super}}';
    }
    /**
     * @inheritdoc
     */
    public function rules(){
        return[
            [['store_id','type'], 'integer'],
            [['store_id','money'],'required'],

        ];
    }
    /**
     * @inheritdoc
     */
    public function attributeLabels(){
        return[
            ['store_id'=>'商城id'],
            ['money'=>'单笔付款金额'],
            ['type'=>'type'],
        ];
    }

}
